package gameam.data;

import gameam.business.*;
import java.util.ArrayList;
import gameam.data.BaseDataClass;

public class TestDataLoader implements BaseDataClass
{
	private MCBaseTest test;
	
	public TestDataLoader()
	{
		ArrayList<MCAnswer> possibleAnswers = new ArrayList<MCAnswer>();
		
		
		MCAnswer answer1 = new MCAnswer(5,"Mitch and Alec");
		MCAnswer answer2 = new MCAnswer(0,"Alec");
		MCAnswer answer3 = new MCAnswer(0,"Mitch");
		MCAnswer answer4 = new MCAnswer(-2,"Carl");
		MCAnswer answer5 = new MCAnswer(-3,"Ron");
		
		possibleAnswers.add(answer1);
		possibleAnswers.add(answer2);
		possibleAnswers.add(answer3);
		possibleAnswers.add(answer4);
		possibleAnswers.add(answer5);
		
		MCBaseQuestion question = new MCBaseQuestion( "Who made G.A.M.E?", possibleAnswers);
		
		ArrayList<MCBaseQuestion> questions = new ArrayList<MCBaseQuestion>();
		questions.add(question);
		questions.add(question);
		test = new MCBaseTest(questions);
	}
	
	public MCBaseTest getTest()
	{
		return test;
	}
}